# configuracao da saida ########################################################
set terminal postscript enhanced color "Helvetica" 22
set encoding iso_8859_15

# excluindo o titulo
unset label

# ajustando a margem inferior
set bmargin 4

# ajustando os tics dos eixos
set xtic auto border nomirror out
set ytic auto border nomirror out

# determinando o formato de exibicao
set format y "%0.2f"
set format x "%0.0f"

# configuracao das linhas ######################################################
set style line 1 linetype 1 linecolor rgb "#FF0000" linewidth 2
set style line 2 linetype 1 linecolor rgb "#0000FF" linewidth 2
set style line 3 linetype 1 linecolor rgb "#000000" linewidth 2

set style function lines

# inicio dos plots #############################################################
set xlabel '{amostras}'
set ylabel '{erro de estimativa (%)}'

# PRBS =========================================================================
set output "valid_prbs_etano_erro.eps"
plot "../dados/validacao/prbs/valid_prbs_ERROS.dat" \
     using 1:5 title '' ls 3 with lines

set output "valid_prbs_propano_erro.eps"
plot "../dados/validacao/prbs/valid_prbs_ERROS.dat" \
     using 1:6 title '' ls 3 with lines

set output "valid_prbs_pentano_erro.eps"
plot "../dados/validacao/prbs/valid_prbs_ERROS.dat" \
     using 1:7 title '' ls 3 with lines

# DEGRAU NEGATIVO ==============================================================
set output "valid_degrau_neg_etano_erro.eps"
plot "../dados/validacao/degrau_neg/valid_degrau_neg_ERROS.dat" \
     using 1:5 title '' ls 3 with lines

set output "valid_degrau_neg_propano_erro.eps"
plot "../dados/validacao/degrau_neg/valid_degrau_neg_ERROS.dat" \
     using 1:6 title '' ls 3 with lines

set output "valid_degrau_neg_pentano_erro.eps"
plot "../dados/validacao/degrau_neg/valid_degrau_neg_ERROS.dat" \
     using 1:7 title '' ls 3 with lines
